package com.it.dao;


import com.it.pojo.Book;

import java.util.List;
import java.util.Map;

public interface BookDao {
    List<Book> selectByPage(Map<String,Object> params);
    int selectTotal(Map<String,Object> params);//总记录数
    int insert(Book book);
    int deleteBatch(Integer[] ids);//批量删除
    int delete(Integer id);//删除
    int update(Book car);
    Book selectById(Integer id);
}
